package per.hx.bs.entity.yw;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import per.hx.bs.base.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author HuXing
 * @date 2018/4/26  21:48
 */
@TableName("yw_settlement")
public class YwSettlementDO extends BaseEntity {

    @TableId
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 结算时间范围
     */
    private String jsStartDate;
    /**
     * 结算时间范围
     */
    private String jsEndDate;
    /**
     * 结算人姓名
     */
    private String jsUserName;
    /**
     * 岗位名称
     */
    private String jsJobName;
    /**
     * 岗位基本绩效
     */
    private Integer jsJobMoney;
    /**
     * 增加绩效
     */

    private Integer jsAdd;
    /**
     * 减少绩效
     */
    private Integer jsReduce;
    /**
     * 结算金额
     */
    private Integer jsMoney;
    /**
     * 最终金额
     */
    private Integer money;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getJsStartDate() {
        return jsStartDate;
    }

    public void setJsStartDate(String jsStartDate) {
        this.jsStartDate = jsStartDate;
    }

    public String getJsEndDate() {
        return jsEndDate;
    }

    public void setJsEndDate(String jsEndDate) {
        this.jsEndDate = jsEndDate;
    }

    public String getJsUserName() {
        return jsUserName;
    }

    public void setJsUserName(String jsUserName) {
        this.jsUserName = jsUserName;
    }

    public String getJsJobName() {
        return jsJobName;
    }

    public void setJsJobName(String jsJobName) {
        this.jsJobName = jsJobName;
    }

    public Integer getJsJobMoney() {
        return jsJobMoney;
    }

    public void setJsJobMoney(Integer jsJobMoney) {
        this.jsJobMoney = jsJobMoney;
    }

    public Integer getJsAdd() {
        return jsAdd;
    }

    public void setJsAdd(Integer jsAdd) {
        this.jsAdd = jsAdd;
    }

    public Integer getJsReduce() {
        return jsReduce;
    }

    public void setJsReduce(Integer jsReduce) {
        this.jsReduce = jsReduce;
    }

    public Integer getJsMoney() {
        return jsMoney;
    }

    public void setJsMoney(Integer jsMoney) {
        this.jsMoney = jsMoney;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "YwSettlementDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", jsStartDate='" + jsStartDate + '\'' +
                ", jsEndDate='" + jsEndDate + '\'' +
                ", jsUserName='" + jsUserName + '\'' +
                ", jsJobName='" + jsJobName + '\'' +
                ", jsJobMoney=" + jsJobMoney +
                ", jsAdd=" + jsAdd +
                ", jsReduce=" + jsReduce +
                ", jsMoney=" + jsMoney +
                ", money=" + money +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
